
<?php get_header(); ?>


	<!-- site-content -->
	<div class="site-content clearfix">
		<div class="main-column">
			<div class="main-content">
				<?php if (have_posts()) :
					while (have_posts()) : the_post(); ?>
					<article class="post page">

						<!--
						<nav class="site-nav children-links clearfix">
							<span class="parent-link">
								<a href=" <?php echo get_the_permalink(get_top_ancestor_id()); ?> "> <?php echo get_the_title(get_top_ancestor_id()); ?></a>
							</span>
							<ul>
								<?php 

									$args = array(
										'child_of' => get_top_ancestor_id(),
										'title_li' => '',
									);
								 ?>

								<?php wp_list_pages($args); ?>
							</ul>

						</nav>
					-->
						
						<div style="clear:both">
							<h2><?php the_title(); ?></h2>
							<?php the_content(); ?>
						</div>
					</article>
						
					<?php endwhile;
				else :
					echo '<p>no content found</p>';
				endif; ?>
			</div>
		</div>
		<?php get_sidebar(); ?>
	</div>

<?php get_footer(); ?>
